package cn.example.vip.mall.user.service;

import cn.example.vip.mall.user.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;

public interface UserInfoService extends IService<UserInfo> {
	/**
	 * 用户注册
	 * @param userInfo
	 * @return
	 */
	Integer userRegister(UserInfo userInfo);
	
	/**
	 * 用户登录
	 * @param userInfo
	 * @return
	 */
	Integer userLogin(HttpServletResponse response, UserInfo userInfo);
}
